package com.bw.module_notice.model

import com.chad.library.adapter.base.entity.MultiItemEntity

data class NoticeResult (
    val content: String,
    val id: Int,
    val publishTime: String,
    val status: String,
    val title: String,
    val type: String,
    val userId: Int
): MultiItemEntity {
    override val itemType: Int
        get() = if (status.equals("已读")) 0 else if (status.equals("立即报名")) 1 else 2
}
